package Game;

import java.util.Scanner;

public class Player extends Role {
    public String fist(){
        System.out.println("请输入一个0~2的数字，0是石头，1是剪刀，2是布");
        Scanner scan=new Scanner(System.in);
        int number= scan.nextInt();
        if(number==0){
            return "石头";
        }else if (number==1){
            return "剪刀";
        }else if (number==2){
            return "布";
        }
        return "";
    }
}
